getScaledHorizontalScrollFactor
open fun getScaledHorizontalScrollFactor(@NonNull config: ViewConfiguration, @NonNull context: Context): Float(source)
Return
Amount to scroll in response to a horizontal ACTION_SCROLL event. Multiply this by the event's axis value to obtain the number of pixels to be scrolled.
Parameters
config
Used to get the scaling factor directly from the ViewConfiguration.
context
Used to locate a resource value.